package com.yonyou.cyxdms.sysAuth.service.service.dealerchannel;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yonyou.cyx.framework.service.base.ICommonService;
import com.yonyou.cyxdms.sysAuth.service.dto.dealer.MsgRecordDTO;
import com.yonyou.cyxdms.sysAuth.service.dto.dealer.MsgRecordNoticeDTO;
import com.yonyou.cyxdms.sysAuth.service.dto.dealer.MsgRecordNoticePO;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author adu
 * @since 2019-10-11
 */
public interface MsgRecordNoticeService extends ICommonService<MsgRecordNoticeDTO, MsgRecordNoticePO, Long> {

    public IPage<Map<String, Object>> selectPageByNotice(Page page, Map<String, Object> queryCondition);

    public Integer addNotice(MsgRecordNoticeDTO msgRecordNoticeDTO);

    //更改发布状态
    public Map<String, Object> updateReleaseStatus(Integer noticeId, MsgRecordNoticeDTO msgRecordNoticeDTO);
}
